home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d2 / stopwtch.arc / STOPWTCH.DOC < prev   
Text File  |  1990-07-31  |  2KB  |  58 lines

  1.                StopWatch - Times Program Execution
  2.                    Version 1.01:  June 7, 1986
  3.  
  4.     StopWatch is a program that can be used to time the execution 
  5. of other programs.  It uses the BIOS timer which has a resolution 
  6. of ~55 milliseconds  and  should  be  accurate  to  at  least  .1 
  7. seconds.  
  8.  
  9.  
  10. USAGE:
  11.  
  12.     There are two formats for the StopWatch command:
  13.  
  14.         STOP <any command WITHOUT I/O redirection>
  15.            and
  16.         STOP <"any command with I/O redirection">
  17.  
  18.     The  angle  brackets  ('<' and '>') are not actually entered, 
  19. however, the quotes in form 2 must be entered.  
  20.  
  21.  
  22. EXAMPLES:
  23.  
  24.     1)  STOP DIR *.*
  25.  
  26.         This StopWatch command would time the  execution  of  the 
  27.         PC/MS-DOS DIR command.  
  28.  
  29.     2)  STOP "TRIM 0 <STOPWTCH.C >STOPWTCH.C"
  30.  
  31.         This  StopWatch  command  would time the execution of the 
  32.         TRIM filter which uses I/O redirection.  
  33.  
  34.     3)  STOP "TRIM 0 <STOPWTCH.C >STOPWTCH.C" >TIME
  35.  
  36.         This StopWatch command is the same as that in  2)  except 
  37.         that the StopWatch output is redirected to the file TIME.  
  38.  
  39.  
  40. OUTPUT:
  41.  
  42.     The output of StopWatch shows the date of execution (from the 
  43. system date),  the command that was executed,  the start time for 
  44. execution of the command (from the system time of day),  the  end 
  45. time of the execution, and the elapsed time (from the BIOS time).  
  46. The  following  is  an  example  of  the  output of the StopWatch 
  47. command for an execution of DIR: 
  48.  
  49.  
  50.     StopWatch - Version 1.01: June 6, 1986
  51.             Datalight C Compiler Version
  52.         Date:         06/07/86
  53.         Command:      dir /w
  54.         Start time:   17:58:45
  55.         Stop time:    17:58:47
  56.         Elapsed time: 2.25 seconds
  57.  
  58.